package com.wswy.wzcx.model.wzdb

import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.android.parcel.Parcelize

@Parcelize
data class AddUserCertEntry(
        @SerializedName("key") val key:String?=null,
        @SerializedName("label") val label:String?=null,
        @SerializedName("hint") var hint:String?=null,
        @SerializedName("type") val type:String?=null,
        @SerializedName("defaultValue") var defaultValue:String?=null,
        @SerializedName("length") val length:Int?=0,
        @SerializedName("alias") val alias:String?=null) : Parcelable {




    fun isEditInput():Boolean{
        return "text" == type
    }

}